i = input()
tp = ('零', '壹', '贰', '叄', ' 肆', '伍', ' 陆', '柒', '捌', '玖')
for j in i:
    print(tp[int(j)], end='')
